package com.zhongfl.crm.model.boss;

import com.zhongfl.crm.enums.boss.AmibaCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * amiba
 * Created by wangkun23 on 2018/1/17.
 */
@ToString
public class Amiba implements Serializable {
    /*自增ID*/
    @Setter
    @Getter
    private Integer id;

    @Getter
    @Setter
    private Integer staffAmibaId;

    @Getter
    @Setter
    private AmibaCode code;

    /*阿米巴名称*/
    @Setter
    @Getter
    private String name;

    /*父阿米巴Id*/
    @Setter
    @Getter
    private Integer parentId;

    /**
     * 分行
     */
    @Setter
    @Getter
    private String masterBank;

    /**
     * 支行
     */
    @Setter
    @Getter
    private String branchBank;
    @Setter
    @Getter
    private Integer branchBankId;

    /**
     * 业务银行列表
     */
    @Setter
    @Getter
    private List<RelationAmibaBank> relationAmibaBankList;

    /*逻辑删除标识, 1已删除 0未删除*/
    @Setter
    @Getter
    private Byte deleted;

    /*创建人*/
    @Setter
    @Getter
    private String createdBy;

    /*创建时间*/
    @Setter
    @Getter
    private Date createdTime;

    /*最后更新人*/
    @Setter
    @Getter
    private String modifiedBy;

    /*最后更新人*/
    @Setter
    @Getter
    private Date modifiedTime;

    /**
     * 产品id
     */
    @Setter
    @Getter
    private Integer productId;
}